/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.system.service;

import com.bjboot.caocao.system.domain.RoleDO;

import java.util.List;

/**
 *@Description ${description}
 *@Author 操文健
 *@Date 2018-09-12 下午2:58
 *@Version 1.0
 **/
public interface RoleService {
    RoleDO get(Long id);

    List<RoleDO> list();

    int save(RoleDO role);

    int update(RoleDO role);

    int remove(Long id);

    List<RoleDO> list(Long userId);

    int batchremove(Long[] ids);
}
